var Radio = require('./radio.js');
var inforObj = {'radioName':'音乐频道'}
var radio = new Radio(inforObj);
radio.on('start',()=>{
    console.log(radio.radioName+" started")
    console.log("lalalalaalala……")
})
radio.on('stop',()=>{
    console.log(radio.radioName+" stoped")
    console.log('Tank you for listening!');
})
setTimeout(()=>{
    radio.emit('start');
},1000)
setTimeout(()=>{
    radio.emit('stop');
},5000)